home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / wb-enhancement / multiblank / developers / include / mblank.h < prev    next >
C/C++ Source or Header  |  1996-02-26  |  1KB  |  76 lines

  1. #ifndef    MBLANK_H
  2. #define    MBLANK_H
  3. /*
  4. **    $VER: mblank.h 1.0 (28.6.95)
  5. **
  6. **    Messages from MultiBlank
  7. **
  8. */
  9.  
  10. #ifndef EXEC_PORTS_H
  11. #include "exec/ports.h"
  12. #endif
  13.  
  14. #ifndef INTUITION_INTUITION_H
  15. #include "intuition/intuition.h"
  16. #endif
  17.  
  18. #ifndef INTUITION_SCREENS_H
  19. #include "intuition/screens.h"
  20. #endif
  21.  
  22. struct msgheader {
  23.     struct Message msg;
  24.     BYTE          type;
  25. };
  26.  
  27. struct initmsg {
  28.     struct Message msg;
  29.     BYTE           type;
  30.     BYTE           success;
  31.     LONG           flags;
  32. };
  33.  
  34. #define IMF_CONFIG    1
  35. #define IMF_INFO    2
  36.  
  37. struct blankmsg {
  38.     struct Message msg;
  39.     BYTE           type;
  40.     BYTE           success;
  41. };
  42.  
  43. struct clearmsg {
  44.     struct Message msg;
  45.     BYTE           type;
  46. };
  47.  
  48. struct infomsg {
  49.     struct Message msg;
  50.     BYTE           type;
  51.     BYTE           success;
  52.     struct Screen *screen;
  53.     struct Window *window;
  54. };
  55.  
  56. struct configmsg {
  57.     struct Message msg;
  58.     BYTE           type;
  59.     BYTE           success;
  60.     struct Screen *screen;
  61.     struct Window *window;
  62. };
  63.  
  64. struct quitmsg {
  65.     struct Message msg;
  66.     BYTE           type;
  67. };
  68.  
  69. #define MBMT_INIT    0
  70. #define MBMT_BLANK    1
  71. #define MBMT_CLEAR    2
  72. #define MBMT_INFO    3
  73. #define MBMT_CONFIG    4
  74. #define MBMT_QUIT    5
  75.  
  76. #endif